package com.meta.platform.contract.service.app.impl;

import com.meta.platform.contract.domain.tunnel.db.ContractRepository;
import com.meta.platform.contract.intf.entity.Contract;
import com.meta.platform.contract.intf.ro.ContractRo;
import com.meta.platform.contract.service.app.ContractQryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  合同表
 * @Title:      ContractQryServiceImpl
 * @Author:     M.simple
 * @Remark:     The modified content
 * @CreateDate: 2020-12-08 15:53:37
 * @Version:    v2.0
 */
@Service
public class ContractQryServiceImpl implements ContractQryService {

	@Autowired
	private ContractRepository contractRepository;

	/**
	 * list contract info
	 * @method      listContract
	 * @param       contract:
	 * @return      List<Contract>
	 * @author      M.simple
	 * @date        2020-12-08 15:53:37
	 */
	@Override
	public List<Contract> listContract(ContractRo contract){
			return contractRepository.listContract(contract);
	}

}
